home *** CD-ROM | disk | FTP | other *** search
-
- ----
- Nuke
- ----
-
- Secure file deletion command
- by Giovanni Gigante
-
- Version 1.0
-
-
-
- 1. Short
-
- This small program is a secure "delete" command.
- Secure means that the file is physically destroyed and cannot be recovered
- in any way.
-
-
- 2. Requirements
-
- Any amiga.
-
-
- 3. Distribution
-
- This program is freeware and can be distributed with no limitations,
- provided this doc file is enclosed and the author's name is not modified.
-
-
- 4. Purpose
-
- The standard "delete" command deletes a file only logically, i.e. its
- area is marked as free but the data are not really erased. "Undelete"
- commands do exist, and can recovery those data. This is dangerous if
- you are handling sensitive information and really want to get rid of it.
- For instance, suppose you are using an encryption package such as PGP.
- If you want to keep secured your secret message, you don't want to have
- copies of the plain text hanging around. However this is exactly what
- happens if you delete it the usual way, because anyone could eventually
- use a file recovery utility and retrieve the files. So instead of
- simply deleting your sensitive files, NUKE them, and feel safe.
-
-
- 5. Security provided
-
- Nuke overwrites the file three times (with 0s, 1s and 0s) before logically
- deleting it. This procedure is pretty secure preventing any recovery
-
-
- 6. Source code
-
- Since this program is meant to be used in a sensitive environment, the
- source code is also included, so that the really paranoid ones can verify
- that it is all right and can eventually recompile it.
- The C source code is ANSI-compatible and can be also compiled on other
- systems.
-
-
- 7. Usage
-
- From your shell, simply type:
- NUKE <filename>
- and the file will be totally destroyed.
- Because this is a very dangerous command, Nuke does *not* accept wildcards.
- You have to nuke your files one at time. You don't want to nuke your precious
- files by mistake, right? :). Anyway, if you really need wildcards, you can
- always use the SPATCH script (provided in the S directory with all OS
- releases beyond 1.3).
- The executable included in this archive is pure and can be made resident.
-
-
- 8. Tests made and possible security problems
-
- The program has been carefully tested on the following setup: A1200,
- 2+4Mb RAM, Samsung SHD-30560A hard disk.
- Note that the program uses for three times freopen() and fclose() to
- overwrite the file. This is meant to ensure that the file is physically
- overwritten on the disk. At the abovementioned tests the program behaved
- correctly. However, it is theorically possible that on certain kinds of
- "smart cached" devices the three changes are made on the buffer only, and
- are not written to the disk except for the last passage. This could
- seriously degrades the security effectiveness of the deletion.
-
-
- 9. Disclaimer
-
- THE ENTIRE RISK AS TO THE USE OF THIS PROGRAM OR ITS SOURCE CODE IS ASSUMED
- BY THE USER. IN NO EVENT WILL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- INCIDENTAL OR CONSEQUENTIAL DAMAGE RESULTING FROM THIS PROGRAM OR ITS SOURCE
- CODE.
-
- After all, everbody knows that a Nuke is a dangerous device. :-)
-
-
- 10. File hystory
-
- V 1.0 04-mar-95 first release.
-
-
- 11. Author
-
- Nuke has been written by Giovanni Gigante.
- Suggestions and comments are welcome! (not nukes, please).
- E-mail: ggntgv01@cidoc.iuav.unive.it
-
-
- 12. Archive contents
-
- nuke executable compiled with SAS C 6.0
- nuke.c source code
- nuke.doc this file
- nuke.readme short description
- SCOPTIONS compiler options
-
-
- ---end of file---
-